﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Deconstructors
{
    class Rectangle
    {
        public readonly float width, height;
        public Rectangle(float width, float height)
        {
            this.width = width;
            this.height = height;

        }

        public void Deconstruct(out float width, out float height)
        {
            width = this.width;
            height = this.height;
        }
    }
}
